package com.wl.cloud.core.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * @author: wanglin
 * @date: 2023-07-12 周三
 * @Version: 1.0
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
@MappedSuperclass
public class AbstractBaseDeleteModel extends AbstractBaseModel {
    @Column(columnDefinition = "bit not null default 0 comment '是否已删除:1:删除'")
    @TableLogic
    private Boolean deleted = false;
}
